package com.itcast.activiti;

import org.activiti.spring.boot.ProcessEngineAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@MapperScan("com.itcast.activiti.mapper")
@SpringBootApplication(exclude = {ProcessEngineAutoConfiguration.class,
        SecurityAutoConfiguration.class})
@EnableFeignClients(basePackages = "cn.itcast.ic.pmis.sdk.**")
public class ItcastActivitiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ItcastActivitiApplication.class, args);
    }

}
